package com.qingge.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author xyc
 * @since 2022-04-12
 */
@Getter
@Setter
@TableName("sys_stu")
@ApiModel(value = "Stu对象", description = "")
public class Stu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("学号")
    private Integer uid;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("性别")
    private Integer sex;

    @ApiModelProperty("留言")
    private String msg;

    @ApiModelProperty("学院")
    private Integer college;

    @ApiModelProperty("年级")
    private Integer grade;

    @ApiModelProperty("班级")
    @TableField("myClass")
    private String myClass;

    @ApiModelProperty("班主任")
    private Integer teacher;

    @ApiModelProperty("成绩编号")
    @TableField("scoreId")
    private Integer scoreId;

    @ApiModelProperty("学科编号")
    @TableField("subjectId")
    private Integer subjectId;

    @ApiModelProperty("入学时间")
    private Date school;
}
